import org.apache.commons.lang3.time.DateFormatUtils;
import org.apache.commons.lang3.time.DateUtils;

import java.util.Calendar;
import java.util.Date;
import java.util.GregorianCalendar;

public class DateUtil {
    public static void main(String[] args) {
        Calendar cal = new GregorianCalendar();
        cal.setTime(new Date());
        System.out.println(cal.get(Calendar.DAY_OF_MONTH));

    }


}
